package com.ys.mapper;

import com.ys.pojo.Cgoder;
import com.ys.vo.TuiVo;
import org.apache.ibatis.annotations.Param;

import java.time.LocalDate;
import java.util.List;

public interface CgoderMapper {
    int adds(Cgoder cgoder);
    List<Cgoder> selectCgoder(String jintui);
    List<Cgoder> selectCgoderssssssss(@Param("supid")String supid,@Param("ids") String ids,@Param("id")String id);
    boolean upsdate(String id);
    boolean updsdatessssssssss(@Param("riqi") java.time.LocalDate riqi,@Param("ids") String ids);
    boolean updsdss(String ids);
    boolean updszhuangtai(@Param("tuihuo") String tuihuo,@Param("ids") String ids);
    boolean updscomment(String ids);
    boolean updscdingdanStar(@Param("dingdanStar")String dingdanStar,@Param("comment") String comment,@Param("ids")String ids);
    List<Cgoder> findSupId();


    //0719
    List<Cgoder> findTui();     //查找退货的入库单
    List<Cgoder> findChuTime(TuiVo chuTime);        //按时间查找退货单
    List<Cgoder> findDate(LocalDate atime);
    List<Cgoder> findState(@Param("supId") String supId);

}
